package com.czy.springwebtest.controller;


import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.Controller;

@org.springframework.stereotype.Controller
public class TestController implements Controller {


    public ModelAndView handleRequest(javax.servlet.http.HttpServletRequest request,
                                      javax.servlet.http.HttpServletResponse response) throws Exception {
        try {
            return new ModelAndView("test");
        } catch (Exception e) {
            e.printStackTrace();
            throw e;
        }
    }
}